package com.wxy.zhuzhou;

import com.ak.zhuzhou.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.Window;
import android.view.WindowManager;

public class First extends Activity {
	@Override
	protected void onStart() {
		setTheme(R.style.AppBaseTheme);
		super.onStart();
	}
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.first);
		Handler x = new Handler();
		x.postDelayed(new splashhandler(), 2000);

	}

	class splashhandler implements Runnable {

		public void run() {
			startActivity(new Intent(getApplication(), MainActivity.class));
			First.this.finish();
		}

	}
}
